import { useRoutes } from 'react-router-dom'
import { routes } from './router/config'
import 'nprogress/nprogress.css'

function App() {
  const ele = useRoutes(routes)
  return <>{ele}</>
}

export default App
